<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
    var i = parseInt(prompt("请输入您要查询几天后的星期几"));
        if( i % 7 == 0){
        alert("tuesday");
        }else if(i % 7 == 1){
        alert("wedbesday");  
        }
        else if(i % 7 == 2){
        alert("thursday"); 
        }
        else if(i % 7 == 3){
        alert("friday");  
        }
        else if(i % 7 == 4){
        alert("saturday");  
        }
        else if(i % 7 == 5){
        alert("sunday");  
        }else{
        alert("monday");
    }  
    </script>
</head>
<body>
    
</body>
</html>